/*
 * @Author: DUST
 * @Date: 2023-08-22 16:53:56
 * @LastEditors: DUST
 * @LastEditTime: 2023-08-22 16:55:44
 * @FilePath: \workbook_client\src\router\index.ts
 * @Description: 
 * undefined createWebHistory
 */
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    component: () => import("@/views/SignIn.vue"),
  },

  {
    path: "/sign-up",
    name: "sign-up",
    component: () => import("@/views/SignUp.vue"),
  },
  {
    path: "/content",
    name: "content",
    component: () => import("@/views/Content.vue"),
  },
]

const router = createRouter({ history: createWebHashHistory(),  routes })

export default router
